Suppose an ally and I occupy planets in the same system, but our treaty no longer allows inter-colonization. Will my people's happiness go down because my ally occupies planets in the system they also occupy?
Besides losing combats in the system, the only other potential for your population to get angry is if it's a foreign race without happiness boosters (troops, happiness facilities etc) or a captured population of a race you're at war with.