To be convicted of criminal trespass in Texas, the prosecution must prove beyond a reasonable doubt that you entered or remained on the property belonging to another person without his or her consent. Also, you have to have been on notice that your entry was not allowed, or you received such notice but failed to vacate. A closed door would be notice that your entry was not allowed, to any intellectually honest person.
To be convicted of burglary in Texas, the prosecution must prove beyond a reasonable doubt that you entered a private residence or part of another type of building that the public did not have access to and while there you committed or attempted to commit a felony, theft, or an assault. She entered a private residence and shot a man, which any intellectually honest person would admit is a felony in anyone's book.
Again, intent and lack of knowledge, is a relevant factor.