There are countries within BRICS that have actively supporting Israel's defence against Iranian strikes, and who rely on purchases of US military equipment. For example, Saudi Arabia & UAE.
India released statements yesterday saying what they usually do, that they have close relations with both sides (Israel & Iran).
This is why BRICS will never be a military alliance, there's too many conflicting priorities & stances within the group.