When someone tries to bully you for not agreeing with everything they say, it is often called ideological bullying, dogmatism, or conformity pressure.
If it happens in a group setting where people reject you for disagreeing, it is called sectarianism or an echo chamber effect.