Apple has been a battleground stock, where bulls hope to make a stand. But bears want to use Apple as a warning for more weakness. So far, the bears have been winning. So, Apple's behavior Monday was seen as a glimmer of hope for the stock and tech more broadly. However, comments from President Donald Trump after the market close that he would put tariffs on the iPhone drove the stock lower in late trading and that could be a negative for not only the stock, but the broader market. Apple was trading at $171.40, off more than 1.8 percent in late trading.

Trump made the comments in an interview with the Wall Street Journal, in which he said he expects to raise tariffs on $200 billion in goods to 25 percent from the current 10 percent. He said it was "highly unlikely" he would hold off as China has requested. Trump also said he would go ahead with tariffs on an additional $267 billion in Chinese goods, if he can't reach a deal with China. He said on consumer goods, like iPhones and laptops , tariffs could be 10 percent to temper the impact on consumers. "I don't know if it's tough talk before sitting down, before negotiating or not, but it's the most hawkish he's sounded on the ability to get a deal done," said Art Hogan, chief market strategist at B. Riley FBR. Hogan said Apple was hit by the news in afterhours trading, but the entire market could react as well since traders have been hoping for a ceasefire when Trump meets China President Xi Jinping later in the week. Apple's Monday afternoon rebound helped lift the broader market to close near highs, Hogan said. On Monday, Apple did more than one flip flop during the trading day. "Apple fell and put a lid on some of the market's gains, but when it reversed at midday, it helped lift the market to close at the highs of the day," said Scott Redler, partner with T3Live.com. The S&P 500 rose 1.5 percent, closing near the day's high at 2,673. Apple was up 1.3 percent at $174.62. "Apple did a stealth reversal today where sellers tried to break it below Friday's lows," said Redler. "Once it stabilized and reclaimed $172.10, the market got stronger, tech started to make new highs and Apple closed pretty well, which doesn't mean it's out of the woods but it did relieve some pressure."