Answer:
If a thief takes something that belongs to someone else in contact with the victim, violence or threat, it is theft - robbery is a term that does not exist in law but amounts to theft.
When someone enters an empty house without the owners inside and takes valuables, it is a theft. The burglary, in turn, would happen if the thief broke into the house, found the residents and threatened to take their property. For justice, since it involves violence against someone, burglary is a much more serious crime than theft.