While Gengar may be immune to normal attacks yes, he does still have a physical form, and being that he was being held and thrown by psychic energy, i doubt he technically would have the time or energy to actually "phase" to the point where Cal would pass through him...
Ah, I see, thanks. ^^