system
Given the following post, respond as if you're commenting on Reddit:
human
[Giant monster films in general] Whenever a giant monster attacks a city, why do military pilots almost always fly right next to the monster?

Why would a military pilot fly right next to a giant monster destroying a city? For example in Pacific Rim, at the start of the movie, some F-22 Raptors flew so close to Trespasser that one of them literally flew under Trespasser’s armpit and got destroyed. Why would military pilots do such a thing when they can engage such a large target from hundreds of meters away? 

Edit: Or hell, in Godzilla: Planet of the Monsters, the human/alien alliance military were literally fighting Godzilla Filius with what I assume to be pretty advance fighter scooters/bikes. Why did *they* engage at such a close distance? Wouldn’t those bikes have missiles or something?
gpt
It's to keep down civilian casualties. If you manage to distract the monster by flying close to it (like that mosquito that annoyed you while you were trying to work), you give the civilians in the city time to evacuate. Of course you're taking a huge risk on your own life - but so do firemen when they go into burning buildings to save people trapped in them.