Spin–orbital dynamics in a system of polar molecules