Group-scale intrinsic galaxy alignments in the Illustris-TNG and MassiveBlack-II simulations | Synapse