They don't. All animals with lacrimal glands cry in response to irritation or physical contact of the eye though. These tears are known as "reflex tears."
It's pretty brave of moths to do this since they are naturally preyed upon by birds. Maybe birds don't mind this activity. Perhaps there's some benefit to the birds too?