Why does fuel guage go from half full to...

Gas tank is brand new

Did it work correctly before the tank swap?
Did you reattach the ground strap that fits over the fuel hose at the sending unit?
Did the sending unit look physically good when new tank installed, IE no corrosion etc?