гроші sounds somewhat similar to German "Groschen", which was a small unit of money, somewhat like a cent
Yes, it’s a loanword. Гріш used to be a small coin, so the plural гроші came to mean any unit of money.