Modeling the emergence of affective polarization in the social media society