Well if you enter as a legal visitor through a border checkpoint you give the govt the opportunity to do security checks, restrict import of various things, charge customs taxes. Plus they have an idea you are there. It makes sense that sidestepping some or all of that screening and record-keeping will be treated more harshly.