Can anybody tell me what this is?

I bought this at Spencer’s as a gift for a friend thinking it was a novelty shot glass of sorts. The part that gets me as that weird indent (with no hole) and if you look in the right there’s a circle in the glass in the perfect spot to be a carbcap for a pipe of some sort. I’m wondering if this is just a diy pipe or if that’s just how the design is?