Why arduino can fry?

I've accidentally shorted outputs and even inserted the 328P backwards

You are in good company there, :).

People screaming about "damages" here simply have no idea what they are talking about; or don't understand the datasheet when they quoted it as support.

Some OEMs went so far to specify shortcircuit current.