This use of the null hypothesis is based on prior knowledge that drug B is already more effective than placebo, so that if A is more effective than B, then A is automatically more effective than placebo.
Normally, null hypothesis would be the default hypothesis that rejects all a priori...