5f-ligand hybridization and magnetism in UTX compounds