Buttons often get jammed when dirt or other debris get stuck underneath in the side panel. There is an iFixit guide on how to pull the button panel off to clean underneath.
open