The difference is caculated by the algorythm . Same all over the world for any transportation company : planes , trains ,boats , buses. Nothing new here . It's been going on for decades.
Prices may even vary minute to minute . It's called variation du to offer vs requirement( demand).