The word gemías is the imperfect form of gemir in the second person singular. There are other translations for this conjugation.
See the full gemir conjugation

gemir

Entonces, ¿por qué gemías?
Then what was all that moaning?
Want to Learn Spanish?
Spanish learning for everyone. For free.
SpanishDict Premium
Have you tried it yet? Here's what's included:
Cheat sheets
No ads
Learn offline on iOS
Fun phrasebooks
Learn Spanish faster
Support SpanishDict