@an anarchist. Ouch. People are awful when it comes to mental health. My boss when I told her I was suicidal let me get time off to get my meds adjusted. Thats a good boss. I can totally see however a poor boss with issues regarding mental health stigma say that hey I want to know because mental health is not that serious...like you say you suicidal some folk think that oh that don't need treatment you just selfish and will live. Or you just want attention you aren't really suicidal(I've heard that from adults when I was a kid) And if you had lied said it was something like hallucinations they would probably had fired you because you unpredictable.
When I was a teen my foster parent was like you can't be that depressed you young. Till I took my shirt off and revealed cuts all over my back sides and stomach causing her to gasp and told her please get me a therapist appointment set up.
I agree if you said it's a psychiatric emergency they should have left it at that. But folks sadly don't take mental health seriously