The event you mentioned is just a temporal correlation ,Depression is a disorder that is diagnosed after conducting mental and physical examination and taking detailed history, after which based on the diagnosis criteria we can ascertain Depression
Next Steps
Please read about Major Depressive Disorder according to DSM should be helpful
Health Tips
Wish you a speedy recovery