the problem is quite simple: the virus infects your body, damages your lungs, and fucks up your immune system. Then you get an opportunistic pneumonia
The mechanism is also quite simple: administer them both together and the antimalarials kill the virus, the antibiotics kill the pneumonia.