When I encountered one it was passive then I ate a berry and it attacked me why?

More Iguanodon Encountering Tips