While rival Advanced Micro Devices, Inc. (AMD) saw some gains on Tuesday, Nvidia (NVDA) shares sunk -- possibly due to concerns about declining crypto demand.

Nvidia said in its earnings call last week that it expects cryptocurrency mining-related demand for its graphics processing units, or GPUs, to drop by about two-thirds in the second quarter. AMD CEO Lisa Su also talked about slowing demand during the 2018 JP Morgan Technology, Media and Telecom Conference on May 15.

But while AMD's stock increased 1.8% to $12.45 Tuesday, Nvidia's shares dropped 3.8% to $245.56.

The sell-off could be due to the news of declining demand of GPUs for cryptocurrency mining as well as post-earnings profit-taking and broader weakness in chip stocks recently. Nvidia shares are up more than 80% in the last year, and 27% since the beginning of the year. 

Nvidia's crypto mining guidance might have prompted fears that the aftermarket could be flooded with GPUs put up for sale by former miners, or that more miners might shift to application-specific integrated circuits, or ASICs.

Bernstein analyst Stacy Rasgon said that "a lot of high growth tech is down today, too ... so Nvidia could just be part of [that trend]."

Nvidia is a holding in Jim Cramer's Action Alerts PLUS Charitable Trust Portfolio. Want to be alerted before Cramer buys or sells NVDA? Learn more now.

More from Investing

Market Can't Handle the Wild Ride: Cramer's 'Mad Money' Recap (Thursday 5/24/18)

Market Can't Handle the Wild Ride: Cramer's 'Mad Money' Recap (Thursday 5/24/18)

Musk's Tweets About Unions Draw Fire From United Auto Workers

Musk's Tweets About Unions Draw Fire From United Auto Workers

Replay: Jim Cramer on North Korea, Oil Prices, Apple and Carnival Corporation

Replay: Jim Cramer on North Korea, Oil Prices, Apple and Carnival Corporation

Gap Drops After Hours on Disappointing Earnings, Weak Same-Store Sales

Gap Drops After Hours on Disappointing Earnings, Weak Same-Store Sales

Canopy Growth: First Cannabis Firm on the NYSE Fails to Generate Buzz

Canopy Growth: First Cannabis Firm on the NYSE Fails to Generate Buzz