lupine3rd
In terms of answering your second question...
That's because privacy and data security is a joke.
Either this was a random cred-stuffing attack leveraging a pw list, or an attack against nextcloud, leveraging a vulnerability in the service, or a direct attack against the OP leveraging a key logger on his system.
Or perhaps the OP has his nextcloud configured to accept writes from random dudes.