In order for that UN Charter law to be applied the USA would have to have a Safe First Country Aggrement with Mexico. It does not currently have that, so seeking asylum in the USA is completely legal. And in any case, according that UN rule does not apply to unaccompanied minors (which some of those seeking asylum…