Romanticism was a reaction against the coldly rational Enlightenment, as embodied by Neoclassical art; Romantic painters embraced chaos, drama, and emotion.
And whereas nature played a big role in English Romantic art, in France it was usually more politically charged.
And so art also expresses social anxieties.
19th century Romanticism was a reaction against the Enlightenment and the Industrial Revolution.
The Romantics preferred mystery, emotion, and nature to science, reason, and industry — they feared the effects of the latter.