Varför magnet håller sig till rostfritt stål?

Magneter håller vissa typer av rostfritt stål men inte, 304,318 eller 316 typ