Gilbert is sad and quite sensitive now because he's father passed away a few days ago and B is like an annoying character. That ugly orphan below is Anne, and Gilbert kind of likes her while B and the other boys make fun of her.
B: Hey, Gilbert! How's it going, Blythe?
G: Fine.
B: You gotta come back to school, bud. That ugly orphan's out of control.
G: What do you care?
B: We need a guy to show her she's not so smart.
G: She's smart. Deal with it.
B: Why you gotta be like that, bud? [chuckling]
G: Why don't you bust out a book and take care of it yourself?
B: . . .Yeah, right. Good one, bud.
Anne with an E
What does it mean by "bust out a book" here? Does "bust out" as a whole have a different meaning?