It's great to see them released.
It had nothing to do with the Israel/Hamas deal, and before anyone comments, it was a "private deal" between Thailand and Hamas (probably lots of money). Israel did NOT negotiate their release, and I'm sure they were way down the Israel list of concerns.