eco-friendly all depends on how efficient your ice maker is
In my case, I'd have to run an inefficient refrigerator (most consumer ones are pretty bad), then the air conditioner will need to pump the heat the refrigerator moved and generated out of the house.... Generally speaking, home a/c systems are inefficient (compared to large operations).
Which is better? Iono, interpret at will