Does understanding user behaviour help Amazon prime deliver within 2 hours [on hold]

How is Amazon able to pull of a 2 hour delivery with their prime membership program? they recently launched in singapore with 2 hour delivery for certain items.

Would they be having with these items in a delivery truck that's already moving and a routing algorithm based on how likely their user are to checkout. any take on how they pull it off?

how could some kind of predictive user behaviour benefit logistics speed in ecommerce