Why is all my music on the cloud and how do I get it all back at once?

I've noticed that I no longer have ALL of my songs on my iPhone. Some. Much of my collection is listed as being on the cloud.
I see how to manually download them back, by going to the iTunes app on my phone and selecting 'more' >> music >> not on this phone.
But it seems like I have to do this one at a time? There are hundreds of songs not on my phone, that I purchased with my money? First of all, I'm not sure how it got there and why it's no longer in my immediate collection.
But more importantly -- how do I get them back? And not one at a time?
Thanks so much!

Original thread: https://forums.imore.com/threads/why-is-all-my-music-on-the-cloud-and-how-do-i-get-it-all-back-at-once.356963/