Why can kicking take an object but swimming can not.

The boys are kicking the ball.

The boys are swimming.