Same reason why water stays on earth; gravity. Even if Mercury is pure liquid*, it'll still be in the shape of a ball because of its mass :]
* (or half liquid? the density there might change things, idk)
They also eat mars-mellows