 If a male were attached to the female, it would be less likely for the male to be harmed by the predators because he would be resting on top of the female.Therefore, males will tap their legs in order to create ripples in the water to attract predators.The female become fearful, causing her to be less resistant towards the male.