After some staring I see that the gem is locked in place with a metal cage around it linked to the rope above it, I follow the rope and see them tied to the stalls main posts, if somepony tried to steal one they would need to reach up there and cut the metal.