It's Rome, you're an American, standard practice in my experience. If you wanted a stamp, you should have asked them.
There's nothing consistent with Schengen border controls. Some scan & stamp my passport, others scan it and don't stamp it, others scan my residence card and not my passport and refuse to stamp anything, and yet others look at the passport and let me enter. Consistently inconsistent.