The most important factor that makes the TB more difficult to overcome in a patient with a TB and HIV co-infection is the damage that HIV does to the immune system.
HIV compromises the immune system, specifically the CD4 T-cell count, making it harder for the body to fight off infections, including tuberculosis. This immune suppression increases susceptibility to both the development of active TB and complications during treatment.