Pixel value differences in image downloaded through STAC api & Sentinel hub api

I downloaded same tile from AWS & Sentinel API. I compared pixel values for both and they differ by 1000. For example, consider red band. The value at 0,0 (row,column) for the image from Sentinel 2 is say 2242, then for same pixel the value for image from AWS is 1242. Why is this difference? From AWS & Sentinel API, I am downloading S2L2A product.

Check this post and the “harmonizeValue” parameter.