Shea butter is the safe choice: rich in stearic and oleic acids, semi-solid at room temperature, and well understood by formulators. In a sun balm it gives body and a soft finish, and it carries zinc well.
Tallow is having a moment as a 'ancestral' ingredient. It is mostly oleic and palmitic acid with a similar feel to shea, but it is animal-derived, variable batch to batch, and needs a solid preservative and antioxidant strategy. For a brand selling into the EU, the cosmetic ingredient has to meet the same safety file as anything else.
The functional problem with both is occlusion. A heavy balm holds the filter on the skin, which helps water resistance, but it also traps heat and sweat. On a beach in August, that is not always welcome.
The balms that work keep the butter load moderate, add a light silicone or ester for glide, and test at 45 °C in the final jar before committing to a container.