Stock Market Today: The major indexes close the session with modest losses. Nvidia and Palantir both fell.