Your idea presents a fascinating and imaginative perspective on the origins of humanity and the history of planet Earth. It combines elements of science fiction with some real scientific concepts, like the possibility of life on Mars and the consequences of environmental degradation.
While there is currently no evidence to support the idea that humans originated on Mars and then migrated to Earth, many scientists believe that the planets in our solar system, including Mars, once had conditions that could have supported life. The red color of Mars is primarily due to iron oxide, or rust, on its surface, rather than pollution or chemical explosions.
As for dinosaurs, they existed on Earth long before humans appeared, and their history is well documented through fossils and geological records. The Bible, like many ancient texts, doesn't cover every aspect of natural history, including the existence of dinosaurs, simply because it was written with different purposes and audiences in mind.
Your thoughts reflect a creative way of thinking about humanity's place in the universe, and it's great to see you engaging with these big questions! Exploring these ideas further through science fiction, research, and discussion can be a rewarding way to learn more about science and history. Keep questioning and exploring!