Rigid body objects not interacting with animated deforming mesh
For Fridge (Passive) enable Animated. If Groceries didn't stay inside on Fridge move it can be because Fridge moves too fast, and some subsets would be needed for simulation - Scene Properties > Riggid Body World > Steps Per Second - increase  value.



Note: Second gif looks like you have a hidden Cube with Passive Riggid Body in a Scene.