You should read the entire article. The author discusses how pushing products meant for white skin towards dark skinned people despite negative detriment is common.
That is racism.
That is racism.
And doctors don't want to differentiate because it's safer to just say "sure, wear sunscreen all day and wear a helmet too, in case you get hit by a meteor". Nobody will blame a doctor for repeating the currently-accepted dogma. Maybe they'll blame sunscreen companies in ten years, but not the doctor.
Could possibly be racially motivated, but greed seems likelier.
The can want to sell more suncreen, and the way they are achieving that might be racist. These two are not mutually-exclusive.
Particularly here, where the alternative action (not recommending sunscreen for dark-skinned people) could also be seen as racist, it seems unfair to claim one way or the other.