When you encounter the dilo it will try to start a battle most of the time by following you then spitting at you or

Sometimes it will leave you alone

More Dilophosaur Encountering Tips