Typically these statements would be made at the start of an encounter. However, people usually make these kinds of statements when they have negative or upsetting news to deliver. The speaker must first gauge the listener's mood and state of mind before delivering the blow, so it may be a little while into the conversation before the news is broken to the listener.