EU air passenger rights apply no matter the airline or where you purchased them from if your flight is from the EU or within the EU. If your flight is to the EU they only apply if it's a EU airline.
https://europa.eu/youreurope/citizens/travel/passenger-right...