Headphones pause but won't resume playing

As the title says: when connected to Samsung S20 via bluetooth, pressing play/pause button pauses audio but won’t resume playing when pressed again. Similarly, auto-pause when taking off headphones works, but not resuming playback when I put them back on.