FAR - Cost Method

So for the cost method for marketable securities, to adjust to the FMV of the securities we need to make J/E. Unrealized Loss: Dr. Unrealized Loss Cr. Investment in Investee Unrealized Gain: Dr. Investment in Investee Cr. Unrealized Gain I learn by understanding things in the simplest terms. Why is the loss a debit and a gain a credit? J/E were never my strong suit.