Am I in the wrong for thinking this way?

I am a new grad nurse who just had an interview for a position. I think I responded the questions well, but when I was asked why I chose the hospital and responded. The interviewer told me that they have the same values as a hospital closer to home since I was going from one borough to the other, and why I didn’t apply there instead. I thought maybe she asked since it’s a system/chain of hospitals. I answered that because there were no positions opened. I’m here thinking this was maybe some form of trick question. Lord help me!