Is tell used to mean the same thing in the next two sentences?

He could tell that she was unhappy.

She told him how he did it.
different meanings