Why does the magnifcent male frigate bird have a large throat pouch?

the purpose of the throat pouch for the male frigate bird is to attract mates during courtship and used as a defece mechanism to scare predators.