Minds on the Move: Decoding Trajectory Prediction in Autonomous Driving with Cognitive Insights