What is another way of saying it couldn't of happened that way and why?

Since "of" is not a helper verb for forming the past perfect, the other way of saying it would be: "It couldn't HAVE happened that way."