We didn't outright invade either Syria or Libya but the US was involved in their collapses. In Libya we, and several other NATO countries but mostly us, bombed the government in support of the rebels.
In Syria we provided training and equipment for the mostly Jihadist rebels and did and still...