Flying gliders causes massive input lag on Xbox Xcloud

Doing tests, I found that if I look at the sky either in the cockpit or in the external camera, the input lag disappears If I look at the ground the input lag comes back. Only happens with gliders.

I noticed that what causes the input lag is the fps drop when looking at the ground. I thought it was due to the shadow of dense clouds on the ground but even in clear skies the bug happens