I've heard and discussed with artists who mentioned that producing vinyl was very expensive compared to cassettes, which are cheap and easy to DIY.
Then I'd add that cassettes have a retro appeal nowadays. Lastly, they are an analog format, opposite to the CD which is the 1:1 copy of the downloaded FLAC album downloaded from Bandcamp.