no a country cant just "have the right to attack enemies in any location" its got nothing to do with indelible rights. its about wartime, strategy, terms of war,
israel warned days ago it will strike hamas no matter where they hide.. and no this is not a declaration of war on all countries either..
try to learn something. you obviously only get your info from social media. you have not learned about how urban warfare works, how military strategy works, how mitigating risk works. how objective targets are condoned, and how even protected 'no-strike' zones are classified or how their status can be set and removed.
if you think the middle east is a peace zone.. you have not been looking too deep.
if the middle east were normally so peaceful, there would be no need for so many accords, treaties, policies, ceasefires, declarations, etc
seeing as you seem to only want to get snippets from social media drama to fill your thoughts. so lets see if TV-media drama quotes might get the idea in your head in regards to the middle east
"Good men don't need rules. Today is not the day to find out why I have so many"
the middle east is not a paradise of peace, and its not israel that is ruining it for residents of many states of the middle east
The Guardian Qatari prime minister Sheikh Mohammed bin Abdulrahman al-Thani said that US officials first warned Qatar of the Israeli attack 10 minutes after it began, describing the strike as “100% treacherous”. Al-Thani poured water on US claims that Qatar was given advanced warning of the attack