Unless she has access to some serious medical or lab equipment, she can't give him cancer. So, I think this is more metaphorical. Is cancer something that spreads to him? It could also be internet slang for being so annoying it "gave him cancer".
More information is needed. Is cancer something other than the medical diagnosis here?