Changing background on the scroll

Hello All

I am trying to make changing the background on the scroll.
But I am having a hard time.

I would like to make this animation like when you scroll down, the background image is changed.
Here is an example of a website: Supernatural: VR Fitness App on Meta Quest

Can anybody please help me out?

Thank you in advance!!