Online booking details

Why do the prices vary for the same flights at different times?