The key point is that the plane does not crash in a populated area (and secondarily that a military plane is destroyed if crashing in an area not controlled by the owner); in both of your examples, the pilot routinely does the first if not necessarily the second.