Batteries are heavy and sometimes the spring that contacts the negative can be distressed or just entangled in the bump. Such that contact is not made on both ends.
shine a light down the compartment and see what you can see.
I have had to pull the spring (untangle or bend).
Though there are delecate parts so anything could have severed.