Are my mom's health complications due to my bad caregiving?

Not Likely. If you care about your mother then you could not provide bad caregiving. There may be areas in which you can improve so check with your doctor or hers and get suggestions where you can improve.