Mysteries and thrillers are not the same things, though they are literary siblings. Roughly put, I would say the distinction is that mysteries emphasize motive and psychology whereas thrillers rely more heavily on action and plot.