I'm studying fluid dynamics and I came up with an example that I find profoundly counterintuitive. I'd like someone more used to this kind of problems to confirm my guess.
We have two identical tanks with water $A$ and $B$. The only difference is $A$ has a hole, while $B$ has a long tube of the same width as the hole in $A$. I attach a diagram.
The problem I find is that if one applies Bernoulli, the velocity is different. Therefore, deposit $B$ empties much faster than $A$. This is very counterintuitive to me. How having a pipe facilitates the discharge? I would expect the opposite (although I acknowledge that this guess is motivated by the presence of friction the tube that I'm explicitly neglecting in this problem).
Is deposit $B$ discharging faster in reality? Why is so? How does water "know" that it must flow faster because there is a pipe somewhere below?