Could Switchbacks Originate in the Lower Solar Atmosphere? I. Formation Mechanisms of Switchbacks