They’re doing IP location checks, and they’re doing them badly (there’s not really a way to do them well). It’s not working for me with people in the same town, and other people are reporting it’s randomly working or not working with locations in the same neighborhood.
I use whatever online storage service I want because you can add your own encryption layer so you only sync encrypted files. rclone supports lots of services and will also encrypt files for you.