More often than not, the number one reason for the incorrect stowage and discharge would be improper documentation submitted to the port and vessel operator by either the client or their haulers..
It is also possible that due to human error people working at the port or shipping line could enter incorrect data even though correct data was provided by the client..