On the Mac OS that functionality has always been flakey, through several rewrites, not just bug fixes. About half the time it’s not syncing (often due to crashing, but sometimes just mysteriously) on my completely vanilla macos laptop. Dropbox “just works”.
https://support.google.com/drive/answer/10838124?hl=en-GB