U.S. stocks swung wildly between gains and losses on Friday as investors pondered the ramifications of higher interest rates and inflation for the market. The S&P 500 last traded up 0.6% after shedding 1% earlier. The Nasdaq Composite inched up 0.2% in the volatile session. At its session low, the tech-heavy benchmark dropped 2.6%. The Dow Jones Industrial Average climbed 250 points. The major averages bounced off their lows as bond yields retreated from their session highs. The U.S. 10-year Treasury yield last traded flat at 1.56% after popping above 1.6% to hit a 2021 high following data showing a surge in jobs growth. Tech shares …