The soles of my feet are at times sticky, what causes this?

Unclear. More information is needed but it could be either you stepped in something sticky or you may need to clean your feet very well.