You could have a communication problem between the Body Control Module, which controls your instrument gauges, and the Powertrain Control Module, which controls the engine and related functions. Your Powertrain Control Module is mounted on the driver's side fender by the shock tower; check the connections there to see if there's a loose connection.