Dominate Person can dictate actions, but not feelings. If the caster of Protection from Evil is an ally, then you're not hostile to them. Your controller can tell you to attack them, and force you to do so via the spell, but you're still not hostile. And yes, the controller can tell you to, for...