This is an informal expression that means feeling unstable or losing one’s footing.
It’s often used metaphorically to describe a situation where things are unpredictable or uncertain.
In the context of the sentence, it conveys the idea that the ground is not stable beneath our feet.