Just throwing this out there. If it would be a bad fuel level sensor (float) telling the gauge and computer it is out of fuel. Would the computer shut the fuel pump off so it does not run dry and burn itself out? Maybe for safety so the pump does not overheat inside a empty tank filled with gas fumes?