how to verify truth table of MAX485/RS485
Since both A and B are 0V, 0V-0V=0V difference between them. The difference does not exceed threshold of logic 1 or logic 0 (+0.2V or -0.2V) so the fail-safe mechanism keeps the RO high.