Even stipulating that the causal interpretation ('increase') is valid, it's entirely possible that $B$ both increases and decreases $y$.
The original $t$-test compares arithmetic means; the log model compares geometric means. There is nothing especially weird about a binary variable increasing one and decreasing the other.
The mean is more affected by the extreme values than the geometric mean, so if $B$ decreased the extreme values a lot but increased typical values a little, you'd see the mean go down and the geometric mean go up. The geometric mean tends to behave more like the median than the mean.
For a concrete example, I have seen a dataset in which giving inhaled steroids to kids with asthma decreased the mean medical expenditure (by preventing emergency department visits and hospitalisation), but increased the median medical expenditure because of the cost of treatment. I don't know whether the geometric mean went up, but I would have expected it to.
We can also do an analytic example with log-Normal distributions. If $\log Y\sim N(\mu,\sigma^2)$ the geometric mean of $Y$ is $e^\mu$, but the (arithmetic) mean is $e^{\mu+\sigma^2/2}$. So if $B$ decreases $\sigma^2$ by an amount $x$ and increases $\mu$ by less than half $x$, the mean goes down and the geometric mean goes up.
This still leaves open the question of which answer is helpful for your question, which would require more context. In the medical-cost example it was clearly the mean that was relevant, but in some cases the geometric mean or some other summary might be relevant.