There are plenty of sunscreens that are harmless to coral.
It’s the ones with the metal oxides that are fine. Research is also showing the same ones bad for coral are bad for humans. Very dangerous levels of the chemicals present in the blood after absorption.