This is the desert version of the Grass Octorok.
How to Defeat
Besides its appearance, it’s basically the same. Shield bash at the right time to parry its projectile back. You can do the same thing with your sword, but the shield is safer, since you don’t take damage if you miss.