Your HOA agreement should spell this out in detail. Typically, that responsibility is shared by occupants of the building. Your HOA may have a master insurance policy to cover these costs, but any deductibles or expenses over the policy's coverage limits would have to be paid for by the building's unit owners.