The animal can go aggressive and attack you if you fail the taming action by too large a margin.
*If you want to stop attacking a pet that has gone aggressive, move a few tiles away, right-click on ground and choose No target (if you have "Display 'no target' in menus" option checked in Settings).
There is a penalty to taming for [[Blacklighter]]s; taming is still possible but with a higher level of difficulty.
Only animals can be tamed; for [[monster]]s you need to be a [[Priest]]/Priestess and a follower of [[Magranon]] or [[Libila]].