I learned to check LEDs by viewing into it.
As stated, you cant trust the flat to be correct. Nor leg length.
I think it has to do with the intended mounting orientation specified by a big order for a production run. When off board, and in a products outer surface changing orientation could be an advantage for design/ production.
.....Or maybe, just built on early on a Monday.
Inside you'll see two metal parts. The large side is cathode. You can hold a dark LED to light & be able to see it 99% of the time
I've never had an issue with multi color LEDs leg I.D.