"garden plant of the cabbage family," 1520s, from Middle French roquette, from Italian rochetta, diminutive of ruca "a kind of cabbage," from Latin eruca "colewort," perhaps literally "hairy caterpillar" (the plant has downy stems) and related to ericus "hedgehog," also "a beam set with spikes."
"projectile," 1610s, from Italian rocchetto "a rocket," literally "a bobbin," diminutive of rocca "a distaff," so called because of cylindrical shape. The Italian word probably is from a Germanic source (cf. Old High German rocko "distaff," Old Norse rokkr), from Proto-Germanic *rukka-, from PIE root *rug- "to spin."
Originally "fireworks rocket," meaning "device propelled by a rocket engine" first recorded 1919; rocket-ship in the modern sense first attested 1927 ("Popular Science"); earlier as a type of naval warship firing projectiles. Rocket science in the figurative sense of “difficult, complex process or topic” is attested by 1985. Rocket scientist is from 1952.