Tbf, devs don't have to, and in fact Epic will pay them to be exclusive, unlike Apple who makes devs pay for it and gives no choice.
Though it's still annoying that Epic does that, from a consumer standpoint. I can't play any Epic-exclusive games because their CEO has a personal vendetta against my platform (Linux), so their company can die for all I care.