I find my brain shuts down during interviews. There's also a bunch of misdirection, multiple times I've been told "we're not going to do any whiteboarding" only to be handed a whiteboard marker.
Don't be discouraged, stick with it and make sure you push back against this screwed up culture when you gain experience and have the opportunity to make hiring decisions.