So normal assets have: FP = S0 (1+r)
That’s the same as the numerator of the currency forward equation (a normal forward transaction happens only in your currency so r = risk free rate of your domestic currency). The underlying is a dull, lifeless object but you are buying with money (which can be invested while you have it in your hands). The short side is forgoing interest by not selling today, so must be compensated for it in the FP.
The currency forward is similar except both the underlying asset, and the money you are buying it with, are investable. You need to compensate the short side for the interest lost in your currency (lost, because you are handing the money over later, not now), and also, you must discount the interest that you are losing in the foreign currency (losing, because you are getting the foreign currency later, not now)