A girl is about to hit a tennis ball coming from above her with a racket
The girl is swimming.
The girl cannot simultaneously be swimming and hit a tennis ball
One can't be swimming and playing tennis at the same time. Tennis is played on a court.
Hitting a tennis ball is not usually done while swimming.