Dragons are smart in Game of Thrones. A quote from TyrionI really doubt that’s how you’re supposed to process what happened.
Basically Drogon’s instinct was to rage burn Jon for killing Dany but couldn’t due to their familial/spiritual bond so fecked up the thing right next to him instead.
It was pretty lame but you’re projecting a conciousness onto Drogon that wasn’t there.
"Dragons are intelligent, more intelligent than men according to some Maesters. They have affection for their friends and fury for their enemies."
Doubt its actions were accidental or coincidental