@cwitt23's answer is incorrect. If you physically worked in New York, you are subject to New York state taxation. So the answer to your question is Yes, you did make money in another state.
The issue is where you physically worked, not where your employer is based.
New York, like all other states with an income tax, taxes non-residents on income earned from physically working within its borders.
**Answers are correct to the best of my ability but do not constitute tax or legal advice.