The ह sound causes this phenomenon in most of the words that it occurs in.
Example -यह , वह, छह, बहन, शहर, कहना etc.
There were a few posts in this forum explaining this phenomenon. You should scroll down and read them. Or you can just keep track of ह words because most other words are very phonetic.