Deleted all contacts

Had software recently downloaded on iPhone. Found all my contacts deleted. Can they be recovered number 1 how did this happen number 2

Sorry to hear that! I don’t know how it happened, are you sure you didn’t delete something accidentally?
We don’t store group data, so you will have to check on your Apple iCloud account to see if you have it backed up.