Let’s start by getting another Rule clear – You are not allowed to ground your club behind your ball before playing a stroke if your ball is in a bunker.
Rule 12.2b(1) deals with instances where touching the sand in a bunker results in a penalty. One of those instances is touching the sand with a club in the area right in front or right behind the ball.