It is generally accepted that there are over 300,000 foreign workers in Israel, among whom 200,000 are illegal migrant workers who can face deportation at any moment under the Entry to Israel Law and other legislation.
The shooter got out as he ran to the hotel but before that many people also ran in that direction into the hotel, then the hotel locked the doors, many staff who did not escape did hide in the stock rooms.