Plus the last thing I want to do after getting off a long flight is go shopping for toothpaste.
If you follow the TSA regs for liquids, it’s a non-issue.
I tend to stay outside of Lahaina on Maui, and there's a CVS pharmacy (long's drugs), a Walgreens, and a Safeway. all of them tend to carry the same mass-market greasy sunscreen with low spf values. my skin does not do well with that, and I end up extremely sunburnt. bringing my own ends up being a better value proposition.
editing to add: if I'm on vacation, I'm checking a bag, so taking extra liquids is no problem. if I'm traveling for work, I have a bag already packed with everything within TSA requirements, so no need to try to track down a store to walk or ride to somewhere near my hotel.
Most people will check into their hotel first-thing anyway. A 10 minute diversion to stop at a convenience store isn't as bad as you might think.