What is causing my caravan to sway?

If the balance of the caravan is incorrect then it will sway

The correct balance is 8 to 10% of the total weight of the caravan on the ball of the tow vehicle

If your caravan weight is 2500 kg then your ball weight should be between 200 and 250 kg