Because of this...
Your ears open up because when you yawn you open up the eustachian tube that connects your throat with your ears.
It probably has nothing to do with "tmj", unless the jaw joint itself is popping, which would indicate another problem altogether. In other words, you might have a displaced disc in your tmj's if that's the case. Otherwise, it's normal for your ears to open up when you yawn widely.