The RAT comes out when a double engine failure is sensed. The APU also automatically starts and provides power until that also runs out of fuel. The log on was probably caused by the APU starting with the fuel available in its fuel line which rapidly ran out.