Nextcloud has a surprisingly inefficient WebDAV implementation. It's not clear how they got it so wrong compared to, say, Nginx or Apache WebDAV, but they did. Maybe they are doing some processing on each request, creating thumbnails, checking for shared files, locks, or something that's not really necessary but it is slow as a result. Perhaps some config changes could indeed help though.