$$\lceil\log_2 x\rceil - \left\lfloor\log_2 y\right\rfloor\leq \left\lceil\log_2\frac{x}{y}\right\rceil+1\\
\lceil\log_2 x\rceil - \left\lfloor\log_2 y\right\rfloor\leq \left\lceil\log_2{x}-\log_2{y}\right\rceil+1$$
So, letting $\{a\}$ denote the fractional part of any $a$ and $A=\log_2 x,B=\log_2 y$
$$\lceil A\rceil - \left\lfloor B\right\rfloor\leq \left\lceil A-B\right\rceil+1\\
\lceil \lfloor A\rfloor+\{A\}\rceil - \lfloor B\rfloor\leq \lceil \lfloor A\rfloor+\{A\}-\lfloor B\rfloor-\{B\}\rceil+1\\
\lfloor A\rfloor+\lceil\{A\}\rceil - \lfloor B\rfloor\leq \lfloor A\rfloor-\lfloor B\rfloor+\lceil\{A\}-\{B\}\rceil+1\\
\lceil\{A\}\rceil\leq \lceil\{A\}-\{B\}\rceil+1\\$$
It becomes quite clear that the inequality is true. The left hand side is either $0$ or $1$, and the right hand side is either $1$ or $2$.