Because she is a member of congress, just not going for speaker / leader (dems).
You need the majority of the number of votes cast.
435, House Members - Need 218
434, Number have been voting - Need 218
433, Number voting because Buck left - Need 217
But why would they do that to help McCarthy win without getting something out of it?