Many different alloys are classified as "stainless steel", and some are magnetic. [0] The ss sink in my kitchen is not magnetic, but the our ss range IS magnetic. Just as you report, new ss refrigerators are likely to be made amenable to surface magnets.
[0] https://www.fastenal.com/content/feds/pdf/Article%20-%20Magn...