Why would the gas gauge on a 2007 Chevy Malibu go from full to empty while driving when you know the gas tank is full?

Should still be under warranty at the dealer.

probable causes:

Bad connector or plug

Module in tank defective

Guage defective

Computer issue