What Arwon said.
Expanding a bit (well quite a bit

):
Around 1900 the French poet and essayist Charles Péguy made the observation re. the literary and argumentative skills of various peoples/religions:
"After all, your average Jew has been a literary person for two millenia, the protestant for half a millenium, but your average Catholic Frenchman only for three generations."
I.e. tradition counts.
As for the specific Jewish investment in science, well, what one also needs to ask onseself is: "What else where there for them to do?"
I.e. the Jews if Germany and Central Europe in the second half of the 19th c. availed themselves of the opportunities opened by the liberalisation of those societies. University studies was one of these opportunities that gelled well with them.
But what not least the antisemites of the day had implicitly assumed was that the Jews would somehow disperse evenly to all walks of life in society. That didn't happen. Instead talented Jews sized up this society they had just been formally admitted to, and more often than not chose those careers and professions least likely to still penalise them for being Jews.
They were already admitted to Uni. Science kept itself with a meritocratic ideal which would theoretically not penalise them for their background, if only the science was good. You also wouldn't get all the ideological agro of the time associated with a "Jew" writing say the history of the people/literature/art etc. of the "German" people, or the Renaissance of whatever still pegged in people's minds as "not Jewish" at least. The study of "Nature" is a neutral subject by comparison.
The Jewish group's appearence in the new "free professions", writing for the theatre, mass journalism etc., was even more pronounced, and made a number of them publicly very visible (and targets for further antisemitism).
What they didn't really do was get into lines of work where the as a group had 1) a weak tradition (all kinds of trade, agriculture in many places, since the Jews had been an urban group for very long), and 2) they often stayed clear of civil administration, the diplomatic corps, and the officer corps, i.e. lines of work where, as someone put it, "It's immaterial what your name is, as long as it doesn't include a 'von'".
And then, as it happened, the predominately German speaking Jews also found themselves to have invested in the great 19th c. success story of German science, which bowled everything the French and the Brits had tried already over, eventually providing the blueprints for how the US wanted to organise their massive scientific success in the 19th c.
The German Jews of Europe as a group to an extent piggy-backed on this as well.
I.e. there are structural factors at play here that have like zero to do with what Jews "are like".