Ooh, my specialist subject!
First off, they don’t directly measure temperature. They measure the amount of infrared radiation emitted by the surface they are pointing at, which will be affected by the capacity the surface has to emit the radiation. (bear with me, I’ll explain)
eg. black insulation tape emits 90% of the IR energy. If the actual surface temperature is 100 degC, your IR thermometer will read 90 degC
Silver foil, probably more like 30%, so would read 30 degC at an actual temperature of 100 degC.
Some of the cheapest guns don’t have a function to compensate for this. Look for one with adjustable emissivity.
That’s quite simplistic however, if you want to get accurate readings you need to take other things like reflections into account.
Also, they don’t read the temperature at the laser spot, That’s just a targeting guide. See that sticker on the side of the gun? That shows you the diameter of the spot you are taking the temperature over at different distances. The laser spot should be in the middle of that.
Upshot is, you’re unlikely to get an accurate temperature measurement from one of those. They should be good for doing comparative readings if you keep the conditions the same. A contact thermometer gives direct temperature readings.