Today, Hamas sources told Lebanese newspaper Al-Akhbar that it sent a message to Israel via Egypt that "things might get out of control as a result of the great pressure on the Strip," and that the rocket that was launched on Saturday night to Ashkelon was a warning shot.
Hamas is demanding more ventilators for Gaza, which has been hit badly by COVID-19 in recent weeks.
Gaza has only 100 beds equipped with ventilators, and they are now at 70% capacity.
Israel agreed this week to send 15 more ventilators, and the Palestinian Authority has shown little interest in sending any to Gaza. Israel doesn't block any international medical aid from reaching Gaza.
Hamas is not directly threatening to fire rockets at Israel, but it is saying that if things get worse, they won't be able to stop others from shooting rockets at Israel. This is a typical Hamas attempt to avoid responsibility (and Israeli retaliation) for rocket fire.
In April, Hamas' leader in Gaza Yahya Sinwar similarly threatened Israel by saying if Gaza doesn't get enough respirators, "we will take them by force from Israel and stop the breathing of 6 million Israelis."
Israel has over 8 million citizens, roughly 6 million of whom are Jewish, so it was just another threat of genocide by Hamas that the world ignored.