Soldering female header connector to PCB - neighbor pins some how got connected

Do not use that flux in the future.

I use "no clean gel flux" - el cheapo generic stuff from china. I can soak the part of the board I'm soldering in the stuff, and there won't be a connection between pins like you're seeing here after soldering, without any cleaning effort.