due to, because of

The phrase "due to" should modify a noun:

        a decline due to lockdowns

       

Consider using "because of" when there is no modified noun:

        The colony collapsed because of climate change.