So you got information as to why flat top cells will work in your D4, as it has springs for both contacts. Springs would also accept button top cells.

At the risk of putting my foot in my mouth, I’ll say all 18650 cells start as flat top and bottom. Simpler to build in large quantities I believe.

So why button top cells then? Well, to reduce the size of a light you can remove one spring and have the cell contact directly to a PCB. Lots of common cells work great with this (AA, AAA, C, D, etc). 18650 cells have an exposed contact, but also have a plastic sleeve around that contact, may not work so well when trying to make a connection to a flat PCB. If one adds a small protrusion (button) to the top of the cell, now it contacts a circuit on the PCB easily without the plastic sleeve interfering.

Simple as that for most situations. One other minor plus for button top cells as it makes identifying the polarity of the cell (which end is “+”) a bit easier.

BTW, I noticed you are interested in the BLF lantern, that light is designed for button top cells. Don’t rush out and buy cells today, as the light won’t be available for at least a couple more months I suspect.