A standard job pays overtime after 40 hours in a week. A firefighter working a 24/48 rotation averages about 56 hours a week, so under the normal rule you would be in overtime constantly. That is not how fire pay works, and the reason is a specific carve-out in the Fair Labor Standards Act.
FLSA Section 7(k) is the public-safety exemption. It lets a fire or EMS employer measure overtime over a longer work period instead of a single week. Congress recognized that around-the-clock shift work does not fit a 40-hour week, so it gave public safety agencies a different yardstick.