A man wearing white turns to hit a yellow tennis ball.
Someone takes a swing at a ball.
The man takes a swing at the ball because he hit the ball.
taking a swing at a ball is a rephrasing of turning to hit a ball.
The person takes a swing at a ball because he turns to hit a ball.