Once upon a time, digital product design happened in Photoshop and Illustrator. Then competitors like Sketch and Figma came out with a better product. This made Adobe create XD to compete, but it was unable to make a good product so instead they tried to purcahse their competition instead of making something better.
9 months after Adobe announced it was to purchase Figma (and 3 months before it hoped the deal would close), Adobe discontinued XD.