A → B does not mean that B is true only if A is true. For example:
A = “I live in San Francisco.”
B = “I live in California.”
It is possible for B to be true without A being true (e.g. “I live in Oakland.”). However, if B is false (e.g. “I live in Nevada.”), then A is false (San Francisco is not in Nevada).
So A → B means “if A then B” or “A only if B”, not “B only if A”.