Maybe I missed the part in the books where black 6 is explained, or it's not explained because it's assumed to be obvious, but it wasn't obvious for me until a friend explained it to me.
I asked myself why black would play 6 instead of playing at A, and the answer is that black 6 trades territory for further development, and the potential for development is key in Go.
This is what happens when white plays at A:
Black can continue to develop along the 3rd line and white is left with bad shape.
On the other hand, if black played at A instead of 6, these are possible continuations:

On the left diagram, black's development along the right side is blocked, and on the right diagram, black is kept low while white gains influence towards the center.


