When a plane runs out of fuel, the engines stop working, just like a car. When the engines stop, the plane loses power and certain plane functions that need power, also stop working, like some hydraulics. The pilots have been able to “glide” the plane to the ground.