Physic simulation is visible in viewport, but not in the animation render
You need to cache the physic animation:

Go to Scene Properties.
Go to Rigid Body World.
Under Cache, delete all bakes and then click on Bake All Dynamics.
You can now render your video.