There needs to be clear paper trail, which follows company policy, leading to this disciplinary.
If all this is coming as a surprise to you, then the company is in error.
However, on a general note, if a company want rid of person, then that’s going to happen.