Whilst not officially at war with Syria, there is an ongoing situation and relations between the two aren't exactly cordial.
Turkey doesn't stand for any nonsense and if the Syrian plane was carrying weapons, then fair play to Turkey, it's preventative interdiction.
If your countrymen were shelled and shot at by another country, would you stand idle knowing that weapons were being flown in?