BobS46 most likely is onto the answer:
"Are you sure that the sender resistance is matched to the gauge?"

What is the ohm rating of your sender?

What is the ohm rating of your gauge?

They should match.