Scratching with his hind legs means he's probably a little scared and trying to burrow away from you. I had one that absolutely refused nightcrawlers, so I waited a while and tryed again when he was older, and it went alot easyer then.
Frogs can be really stubborn, don't give up, but theres no shame in postponing a little.