Hitch mounted bike rack swaying
Manufacturers recommend a strap to stabilize a (class 1) hitch-mounted bike rack so it doesn't bounce or sway.  For example see Stabilizing Strap for Hitch-Mounted Accessories, and especially the review video lower on the page.

(This is not a product recommendation, just the first thing that popped up in a search.)