She was ruled a hostile witness by the judge
Because as Gates eventually realized, being a hostile witness won't do much more than draw out legal proceedings -- and not necessarily in his favor.
But you can't ask questions the way a prosecutor cross-examines a hostile witness.