Because Pharoah chose to have a hard heart.
We think in human terms and think God does, too - but God says:
"These things you have done, and I kept silent; You thought that I was altogether like you..." (Psalm 50:21a)
But He is not like us.
He is God - there is no other.
Correct but because He is God, we are not able to understand Him. That’s why it is so important to rely on Scripture. It is our only source.