What beats me is what this (matter) has to do with what we’re talking about here.
The one thing I don’t get is what this (matter) has to do with the subject at hand.