SPOILER ALERT!
Well, because he'd spent all that time rescuing them and getting them out of there. Then they run out of petrol and so, oh ****, I'd better shoot everyone in the face then!
In fairness though, I can see why people would love that ending, and I like seeing films taking a risk...