Hello,

E[X|Y] is a random variable, andsometimesdepends on Y (if X is independent from Y, then E[X|Y]=X)

I don't know how you've been introduced conditional expectation, but we've been told that E[X|Y] is the projection of X to the space generated by Y. A different rv from X, in another space.