When I do swings my hamstrings will be sore the next day but not my glutes. Is there some common mistake I'm making?

I've tried squeezing them together as I thrust my hips forward but that hasn't...