I started to type my reply but found better explanation here:
Be Careful Using LED Replacement Lights in Enclosed Fixtures » Drewprops Blog
Heat is the enemy of LED light bulbs. Thats why not all LED bulbs are designed to use in enclosed fixtures. (Bulbs that are totally enclosed in a glass fixture can't cool off. )
This is recessed light fixture. Note that the bulb isn't totally enclosed. It can "breathe " and cool off
https://www.thespruce.com/before-you...lights-2175005
If you are in a store, in most cases it's perfectly OK to open the package to see and even try the bulb.
If you order online, there are usually additional pictures that will show you the best use for that bulb.
https://blog.1000bulbs.com/home/what...fixture-rating
If you are super curious and want to know near everything about bulbs, read this:
https://www.cnet.com/news/light-bulb-buying-guide/