Many golfers tend to swing the golf club back to the top of their backswing without moving their front shoulder back behind the golf ball This forces the head to move towards the front shoulder and the weight to move out towards the front foot toes. As a result the body is out of position at the top of the backwing where the upper body is tilting in the direction of the target.
When the upper body is tilting in the direction of the target at the top of the backswing, the golfer will make a compensating move where they tilt their upper body away from the target during the forward swing. This forces the weight towards their back foot during the forward swing.
The first move away from the golf should be one where the front shoulder moves towards and under a steady chin. This movement allows the front shoulder to move back behind the golf ball during the backswing and allows the weight to transfer naturally into the back side.
A great practice drill is to place a club across your shoulders and work on turning the club and shoulders so they move perpendicular to the targetline and behind the golf ball.