
On the figure above and discussion below, M_xx represents the fixed end moment (FEM) when the joints are in locked/clamped/fixed condition.
Now, the structure is locked for the calculation of the fixed end moments (FEM). At the rightmost span, M_CD = M_DC = 0, since the span has no load. At the leftmost span, M_AE = 10 kNm, and M_EA = 0, why? (Pay attention to how the structure is locked and ask: Why joint E is left unlocked with load in the span? Does the load generate a moment on joint E? Why, or why not?)
Note, in structural analysis, you can use either sign convention - CW positive & CCW negative, or CW negative & CCW positive, it does not affect the results, as long as the sign convention is applied consistently to all steps of the calculation.