On gravel the bike moves. The rear pushes a little, the front dances, and the head screams: danger! Yet this movement is often completely normal on loose ground.
A loose grip lets the bike do its work, if you hold on, you amplify the unrest. Keep looking where you want to go, even if it feels unsettled. And start small: short, level stretches at low speed build confidence.
The fear of sliding is a core topic in the Offroad Mindset.