They're probably texting you from a messaging app like "Go SMS" or "Text Me!"
The numbers are on a per user basis so you can reply to them, but they're being sent via a data connection not the cellular connection. Ie, being sent through WiFi.
Just call the carrier and have the number blocked if they're harassing you.