This happens due to gravity. After a long time any pen kept the refill’s open end down leaks due to the adhesion force of refill body and ink falling short of gravitational force. It may also happen in excessive hot weather, as the ink gets thinner and lesser is the adhesive force. This is why gel pen refills stuff some glue like very dense gelly in the back of refill.