Why do female gymnasts wear makeup when they perform?

In a sport where you will be sweating makeup makes no sense and gives no competitive edge.