real-time video encoding is VERY computationally demanding. and if your system is busy, it is easy for audio to be processed faster.
I recommend monitoring hardware resource (CPU, GPU, RAM, Disk I/O, etc) utilization [for ex. using Task manager’s Performance tab and/or Resource Monitor] to see if your system is being maxed out with your settings
https://obsproject.com/wiki/General-Performance-and-Encoding-Issues and
https://obsproject.com/wiki/GPU-overload-issues
Also, there have been OS and OBS updates over last year, so lots of possibilities a driver change, or you updated other s/w and that is causing a different workload profile than before. For example, OBS v28 has some new options, some of which could be CPU demanding. Or you might have other software (unrelated to OBS) running in the background causing contention.. or new/updated security software... the list of potential issues is long.
I recommend following pinned post (linked in my .sig) regarding posting an OBS log from a recording/streaming session (probably worth starting with automated Analyzer, address issues noted in it first, re-run a streaming/recording session (at least 30 seconds), then post log here