I found these two phrases:
I don't see the difference between them, since both mean "touching a bear."
There is no difference.
Because 触る is intransitive, only に should technically be correct. However, the language has changed over time, and now you can find it with を sometimes.