Eisenhower cut the feet from beneath McCarthy because McCarthy had focused upon a fellow general for fraudulent spending. Eisenhower’s loyalty to that general was a spineless act.
Marshall was diffrent from Eisenhower. Marshall was a bit of a pinko and good friend of Mao Zedong. Eisenhower knew of the threat of communism. That is why he ramped up military spending and CIA intelligence operations.