OEMs produce flattops, unprotected.
Someone Else™ adds protection circuits and usually overwraps them to cover the sensing strip that runs down the side.
As a result, they will be longer because of the protection circuit and button-top (how much longer depends on the size of the protection board and BT) and thicker (because of the strip and additional wrap).
Some lights can fit both unprotected and protected cells just fine.
Some lights can’t.
Some lights actually need button-tops, whether protected or not.
Some creepy lights even require their own “proprietary” cells.
Getting lights and cells to play nicely together is often on the buyer, like it or not. When the light mfr sells/includes its own cells, it’s good to look at what they are (BT/FT, protected/unprotected, etc.) and either buy their cells or do your homework to buy compatible cells.