To lose interest
Natural collocation for losing motivation or curiosity about something. Perder el interés en/por algo = to lose interest in something.
He lost interest in the project after the problems.
When you don't see progress, it's easy to lose interest.
—Is he still motivated? —No, he's lost interest.