Here's why:
* were is a helping verb (also called an auxiliary verb) that helps form the past continuous tense.
* relaxing is the present participle of the verb "relax" and acts as the main verb in this case.
Together, "were relaxing" express the action of the firefighters in the past.