This is basically asking why some animals are more evolved/specialized than others. It’s just how we developed over time.
Cold blooded animals live in environments that they thrive in, and having to regulate their own temperature would cost way too much energy that wouldn’t be as “fit” in that environment. For example a reptile living in the desert would not benefit from being forced to ingest copious amounts of water + food to regulate their own temperature. That amount of food and water doesn’t exist in that environment, and so it would be disadvantageous to develop those traits.
Latest Answers