Tags overwritten when merge

When you merge note A to B, tags of B are removed.
Shouldn’t tags of both notes be maintained?