Here's why:
* Sulfur (S) is a nonmetal in group 16, and it typically forms two covalent bonds.
* Bromine (Br) is a nonmetal in group 17, and it typically forms one covalent bond.
To form a neutral compound, one sulfur atom needs to bond with two bromine atoms, hence the formula SBr₂.