Why would a witness change their mind about testifying?

I went to court and the plaintiffs witness changed their mind about testifying against me. I was confused that they didn’t want to talk. I seen her look at me evidence and after that she did not come up to talk. What do you think happened?

Why would a witness change their mind about testifying?
Post Opinion