We investigate the alignment of galaxy and halo orientations using the
TNG300-1 hydrodynamical simulation. Our analysis reveals that the distribution
of the 2D misalignment angle θ2D​ can be well described by a
truncated shifted exponential (TSE) distribution with only {\textit{one}} free
parameter across different redshifts and galaxy/halo properties. We demonstrate
that the galaxy-ellipticity (GI) correlations of galaxies can be reproduced by
perturbing halo orientations with the obtained θ2D​ distribution,
with only a small bias (<3∘) possibly arising from unaccounted
couplings between θ2D​ and other factors. We find that both the
2D and 3D misalignment angles θ2D​ and θ3D​
decrease with ex situ stellar mass fraction Facc​, halo mass
Mvir​ and stellar mass M∗​, while increasing with disk-to-total
stellar mass fraction Fdisk​ and redshift. These dependences are in
good agreement with our recent observational study based on the BOSS galaxy
samples. Our results suggest that Facc​ is a key factor in determining
the galaxy-halo alignment. Grouping galaxies by Facc​ nearly
eliminates the dependence of θ3D​ on Mvir​ for all three
principle axes, and also reduces the redshift dependence. For
θ2D​, we find a more significant redshift dependence than for
θ3D​ even after controlling Facc​, which may be
attributed to the evolution of galaxy and halo shapes. Our findings present a
valuable model for observational studies and enhance our understanding of
galaxy-halo alignment.Comment: 19 pages, 12 figures, submitted to Ap