German investigators are puzzled by the motives of a man who drove a van into a crowd at an open-air restaurant, killing two people before shooting himself.