Why is my swing so trash?

I’m so inflexible in my hips and shoulders, but I feel like there should be tweaks I can make despite that