Effects of Magnetic Field Orientations in Dense Cores on Gas Kinematics in Protostellar Envelopes