In Figma, after using the Rectangle tool or any other shape tool, the Select tool is automatically selected because the assumption is that you will want to interact (move, resize) with the shape you have just created.
It would be great to have an option to toggle this behaviour in the settings.