I would use tending to in the following way:
I am tending to (caring for) this garden, I am tending to (looking after) the store
I am tending to my daughter (caring for) she has been ill
I would use attending to in the following way:
He is attending to the matter. There may be two people arguing and someone is charge is sent to attend to (sort out) the matter.
Go and attend to those customers. Many people are waiting in a store to be served someone in charge sends someone to serve (attend to) them.