Yes, B is correct -- no doubt about it. This is a fairly difficult question, but it is not at all ambiguous if you remember and apply three important principles:
(1) The correct answer to a Weaken question does not have to DISPROVE the argument; it only has to REDUCE the strength of the reasoning. (Similarly, the correct answer to a Strengthen question supports the reasoning, but does not have to PROVE that it is correct.)
(2) Given a cause-and-effect argument (i.e., an argument whose CONCLUSION states that A causes B), the most common way of weakening it is to show that another possible cause exists. (As noted above, it is NOT necessary to prove that this other cause was the actual cause. It is only necessary to show that the alternative exists and was not ruled out by anything in the argument.)
(3) Be specific and accurate in understanding what the conclusion and the evidence actually say.
For this question, start with the third principle: Understand exactly what the conclusion is. The question identifies the "effect" part of the cause-and-effect conclusion very specifically: The effect is the SPEED with which the termites on the first two floors were killed. The cause is "the exterminator's work", which means the act of pumping gas directly into the walls of those two floors. So the cause-and-effect conclusion is: Pumping gas directly into the walls of the first two floors caused the termites on those floors to die QUICKLY.
TAKE NOTE: The claim is NOT that the exterminators' action caused the bugs to DIE; the claim is that the action caused them to die QUICKLY.
Now to the second step: How do we weaken this claim? As the second principle indicates, we look for an answer which indicates that it was something ELSE, other than pumping gas directly into the walls, that caused the termites on floors 1 and 2 to die QUICKLY. Choice B does exactly this: On floor 4, where the gas was NOT pumped directly into the walls, the termites died just as quickly. At least on that floor, there must have been some other reason why they died so quickly -- and because that other reason existed on that floor, we cannot rule it the possibility that it was the real cause on floors 1 and 2. We do not know what that other cause could have been, and we do not need to: We DO know that it could not have been the act of pumping gas directly into the walls.
Choice D, as others have noted, strengthens the argument. It states that the speed with which the gas kills termites is (at least partly) inversely proportional to how far the gas must travel through the walls. We can logically deduce from this that, if other factors are equal, applying the gas at a place that is closer to the termites will cause them to die faster. This does not totally prove the conclusion, but it certainly supports it.