Gravity originates from variable energy density of quantum vacuum