Why do I not always get hot water out of the faucet?
I would suggest that you check the hot and cold water valves or cartridges. Could be an o-ring or seat that is not sealing properly and allowing cold water to mix with the hot.