So the sentence is
My question is why is that か there. I can’t imagine a way to use that particle that would make sense here.
EDIT: after looking at it some more, I think I understand. It doesn’t feel useless to me now, but if I was making that sentence on my own, I would never have thought to put it there. Correct me if Im wrong but is it because of the まるで at the start making that first clause sort of like a question, and the か connects it with the request of the second part.