When I try to favorite a collection that Photos on my iPhone recommends to me, I get a message saying that I have “unsaved photos from Messages which you need to save before continuing”, and am unable to proceed:

What photos? Where can I find them? What does this mean? How do I proceed?