It's hard to tell, from your last reply, how much you are directing your response to
@Chris-duck and how much is a general rant. It's totally understandable you are upset that both interviewers asked you that. I would be too.
@Chris-duck's question wasn't meant to be judgmental of your situation. Asking questions is how we better understand your situation. For example, knowing that you are a janitor does make their question more ridiculous than if you were, for example, a psych nurse.
It's good to remember that people on this group are from all over the world and have different life experiences, knowledge base, etc. So a response that might seem judgmental, confusing, uncaring or something like that may not seem that because of those differences. We all share the experiences with PTSD here. It also means that things that are obvious to you may not be obvious to us.
For example, what is ltd? Does that mean disability?
Your employer really has no reason to mention you've been off for two years. And even if the employer knows that, they have no idea how you've filled your time. When I, as an employer, got called about a past employee I provided basic information like yes they worked at the company. But if does become clear you have a two-year gap there's lots of ways to respond. If you google there's lots of good examples of how to explain. Again, the key thing is to spin it positive and why it makes you a better employee. "Well, I had some health issues and I took some time to renergize so I could be a better employee". When I was doing hiring I noticed gaps, I won't lie. But I was more concerned with what the employee was presenting as far as their work ethic, ability to do the job, etc. An, answer like I just gave would have worked for me. A health issue could be anything. It could have been cancer or mental health a serious vehicle accident, etc.