The IDF, and Netanyahu, have been planning an assault on Rafah for weeks. Whatever they do will not be in retaliation for the rocket attack.
https://www.reuters.com/world/middle-east/israel-intensifies-strikes-gazas-rafah-ahead-threatened-invasion-2024-04-25/