A strange queen move, probably played to protect the rook on h1, something useful after h4-h5.
12... b7b5 An optimistic plan that puts Black in trouble. He probably wanted to prevent c3-c4, but the medicine is worse than the disease. 13. g4g5  13... f6g8  14. h3h4  14... g8e7 