Lawn care machines don't have the right of way. Hitting trees is a bad practice. Yes, one or two hits may be OK because trees are resilient but they can't take repeated abuse.
The injury above was most likely caused by a mower. Now, the tree can handle some abuse but tissue repair takes away precious resources which could be put to better use. Like growing. Do not abuse trees with your lawn care machines.