Sometimes the glove boxes need a little pull with your fingers along an edge as the button is pushed. Sometimes gravity is not enough as the upholstery around the boxes shifts or flexes over the years creating a pressure point.
Once you have it open you can examine more carefully to see if an adjustment or lubrication of the lock or hinges will be helpful.