Why did the Rambam include the דין of בא במחתרת in הלכות גניבה, rather then in הלכות רוצח | Genevah 9:7

Why did the Rambam include the דין of בא במחתרת in הלכות גניבה, rather then in הלכות רוצח | Genevah 9:7