I think Tekka’s ribbing about Ren’s family pissed him off, so he killed Tekka in anger without really thinking about it. He probably assumed he could search the village and find some clues, then Poe appeared and he figured Tekka gave Poe the map and thought “Oh, cool, I didn’t fuck up that bad” and took Poe to interrogate him.
That’s my 2¢, anyway.
I think it’s kinda that, but I think it’s also possible he’s aware that killing Tekka might draw out any lurking Resistance heroes - which is of course exactly what it does.