Because the Korean War was considered a “UN Police Action”, and not a war between nation-states.
Doesn’t matter.
They are American soldiers.
They deserve the respect of having the flag they fought and died under, U.N. Police Action or not, draping their flags.
This was a sign of disrespect.