Answer
The titles Holland, Zeeland, and Friesland were inherited by Louis IV's wife Margaret because her father William IV passed away in 1345 and she was the only surviving legitimate heir. These titles represented significant territories and political influence in the region, adding to the power and prestige of Louis and Margaret's household.