`fromPointXY` creates a new geometry from a [`QgsPointXY`](https://qgis.github.io/pyqgis/3.4/core/QgsPointXY.html#module-QgsPointXY) object which is a tuple with two float coordinates, i.e. `"X"` and `"Y"`. So, try the following expression feat.setGeometry(QgsGeometry.fromPointXY(QgsPointXY(coords[0], coords[1])))