When you build a portal out of Obsidian, light it, and enter it, would you expect these guys to attack you? Of course you would! However that isn't the case, these guys are calm but as soon as one is provoked, prepare to run away from a herd of them. Also, if you do accidently hit one you may was well finish the Zombie Pigman you hit since they drop gold and sometimes swords!