Reason for anvil and post in LEDs
Both wires are placed symmetrically with respect to the LED's axis. The die is also placed on the axis. Therefore the cathode wire (which holds the die) has to extend towards the center line.

The anode wire is shaped so that you can't pull it out the plastic housing.