While I agree that it sure seems like a lot of airplanes are running out of gas, to be honest, I’m surprised it doesn’t happen more often. And the reason for that boils down to two issues: First, there’s no way to know how much gas you have in your tanks, and second, there’s no way to know how much gas you’ll need for your flight.
Source: general aviationQuestions from the Cockpit: In defense of running out of gas