Ab initio modeling of fusion reactor materials: Unravelling the hydrogen retention mechanisms