The husband of Jo Cox stepped down from two charities created in her memory over allegations of inappropriate conduct from 2015.