What causes gnocchi to pop violently when fried? I came across this video about frying gnocchi, and am now quite curious what causes the reaction shown, especially since gnocchi is made from potatoes, and we have all had a fried potato in some manner or another.
I think it's because there is water inside the gnocchi paste, which turns into vapor and builds up pressure. A little bit like why you shouldn't throw an ice cube in hot oil.

You can pan fry them, but not deep-fry them.