Simple, science is not religion and vice versa.
Science is about understanding phenomena, how things work, that
we may make things work according to our understanding. Older
theories are being debunked, making way for newer theories, to
allow us to understand how things work. Things work the way it does
regardless of what we believe.
Religion, in this instance, specifically Buddhism, is also about
understanding phenomena, focusing on impermanence and also
dissatisfaction. We all are inheritors of certain belief and
culture of our community, clinging to the notions believing it to
be permanent or solid.
Even as we are slowly changing our outlook as we grow ,
picking new ideas and habits, we still believe we are the
same.
The difference being religion, in this instance, Buddhism, and
science is addressing different needs. There are people who
regard science as a religion, and also people who apply religion as
science.