You should not have put them in a 12g tank. That is way to small for a pair of GBR's. You need at least a 20g tank, At Least. The bigger one could have bullied the other to death or it could just be death by stress.
They're very sensitive fish, even if you do have perfect water parameters...