It is impossible to know for sure if a cat understands intent. Cats feel pain and will react when their tails are stepped on, but they do not reason like humans.
They likely react to the sensation rather than your intent. They may associate you with the unpleasant feeling without understanding it was an accident.
How to Avoid Stepping on Tails
* Be mindful of where your cat is.
* Train your cat to stay out of walkways.
* Use a cat door to reduce underfoot traffic.
Be careful to avoid causing unnecessary pain, even if they don’t understand accidents.