It’s a light weight material.
So is titanium. I’m surprised magnesium is cheaper and a better choice. When the metal is hot and the engine is hungry I would expect meatloaf would make a different metal choice.