What version of X-Plane are you using? Desktop, mobile, version 10 or 11, etc? I've never heard of this happening in regular flight, outside of the combat challenges. You might want to go into the failures screen and reset them all to make sure something's not set to blow up.