@doughtygirl It sounds to me like he is being dominant. If it happened while you were away then it would sound like anxiety. It sounds very much like behavior I have encountered in the past many times, where the dog is asserting themselves.
Talking him immediately for a good structured walk as soon as you get home would help. Once he is in that frame of mind, you need to alter that thinking into a different mode. Distraction, walk, food, play, training / treats. When you find out the dogs drivers, it is fairly easy to switch their thinking.
Not enough walks is usually the problem, during summer I walk the dogs 3-5 miles a day every day. Never a problem. Winter comes and with the snow, ice and freezing temps they get whatever walks we can get. Then the problems start.
A tired basenji is a good basenji.