An unescaped and unquoted '&' in the middle of a command is interpreted as a command terminator, leading to unexpected behavior. To fix this, either quote the entire string containing the '&' or escape it with a backslash.