How the phones set the TCP MSS

Hi guys, does anyone knows how the phones set the TCP Maximum Segment Size (MSS)? I observed that for the same network, the Google Pixel 5 sets it as 1460, while the Samsung S8 sets it as 1360.

This we can set it with customization value by using some apps.

If testing UE UL/DL TCP data using iperf APP then it can be set with iperf parameter option.

Changing at modem for all applications won’t be possible I guess.