Dynamical coupling of molecular rotation and Coulomb explosion