Thank you. The inputs you sent ran with recent version of ArcGIS Pro 2.9.2 without issue.
However, I noticed you are using input table (x,y) for the locations. I don't have a 10.7.1 readily available to but can try with the latest ArcGIS 10.8.2 current release of ArcMap to verify.
Perhaps you can convert the table to an input feature class instead. You should be able to create features using the make-xy-event-layer tool using the spatial reference of your input DEM.
Note:
let me know if the feature input work for you...