This is because of customs and border controls required by the UK, which needs a large separated and secured section inside the train station. Trains to other European destinations don't need any of that. Note that this direct route with border controls in Amsterdam has only been available since 2020. Before that all the checks were done in Brussels, a situation that they will revert to during the six months of refurbishment.