Yes. Cigarette smoke and vape aerosol are not mere odours; they are substances with body that a person deliberately draws into the throat and chest — which is why smokers themselves speak of "drinking" smoke — so they invalidate the fast, and the day must be made up if it was a day of Ramadan. Beyond the fast, contemporary scholars and fatwa bodies classify smoking and vaping as prohibited, because Allah has forbidden the impure and harmful things and has forbidden casting oneself into destruction by one's own hands; so they are not permissible at night either. Ramadan is in fact the best opportunity to leave them for good, since a person is already going long hours without them.
Q&A · Fasting
Does smoking or vaping break the fast?
Informational, not a personal fatwa. Consult a qualified scholar for rulings on your situation.