would anyone know why the fuel gauge needle moves to the empty position when i accelerate but returns to the normal fuel position once i take my foot of the accelerator

ive fitted a new bosch pump recently but i dont see why the needle should be moving like that,
any ideas?