As for anti-magic, many basic biology classes would explain it. After a long period of evolution to overcome the environment, the body would naturally develop resistance to natural elements, such as fire resistance and cold resistance. As long as a creature could survive in that environment, it would eventually develop the corresponding anti-magic, which was also known as adaptation... ...
A creature’s adaptability was very strong. Given enough time, it could adapt to almost any attribute or environment in the universe. And those creatures that died out because of the environment mostly didn’t have enough time to adapt... ...