You're correct that attacking the jet or helicopter would be considered uncap. I'll hope to clarify some of it, but every case is a little different and there are some gray areas for sure.
Some for-sure situations in which you can attack a player if theyre in uncap.
Player has fire a gun...