It's not purely a demand side thing. It's also a regulatory change. The CAFE standards were updated in 2010 to require a sliding scale of fuel economy standards where larger vehicles were permitted to have less efficient fuel economy ratings. Small trucks sat in an unviable zone of too small to be allowed to be fuel inefficient, and too big to actually be fuel efficient, so they were phased out right around 2010.
Now, fully recognizing that small trucks are in demand, and that EVs don't have worry about fuel economy standards, several manufacturers have made plans to occupy that niche with EVs.