They brought multiple tranches when the price was much higher. I belive they are down by atleast 20% despite buying the dip multiple times.
And more to the point, Bukele's shenanigans have signalled to the world that El Salvador's government can't be trusted to follow responsible financial policies. Which is why yeilds on this bonds have spiked and the country is finding it impossible to borrow.