My friend, it seems like your anxiety is nicotine withdrawal. That explains why smoking makes your anxiety go away; you're getting another hit of nicotine to ease off the withdrawal.
Vaping isn't harmless. Especially since you're 18, it will inhibit your brain development and the chemicals in the vape are chronically toxic. Nicotine is extremely addictive. Many people get addicted after just a few goes.