Why do moths do that?; moths, why

Why do moths do that?