Understandable but you won’t find out what he meant by it since you didn’t ask, instead of getting upset you could of communicated further into his question to see his thought process or what he meant by “what are you going to do today.” You also would of probably gotten some reassurance especially because he said that’s not what he meant, you kinda jumped the gun and guessed well because he’s asking me it means he doesn’t want me here, it was really a simple question.
People are not mind readers, you get a lot more out of communicating with your partner.