ethernet interfaces have to be in different IP subnets.
Because if not, the IP stack would not be able to decide, trough which physical interface a IP packet has to be sent to reach the receiver of the packet.
That’s the reason why you get an error when trying to configure multiple interfaces to the same IP subnet.