$\bar X$ is samples taken from X, another random variable, and as such is a random variable. It's equivalent to $\hat \mu$